package com.java83.dto.impl;

import com.java83.dto.BaseDto;


public class OneDto<T> extends BaseDto {
    private T data;

    public OneDto(int page, int limit, T data) {
        super(page, limit);
        this.data = data;
    }
    public OneDto(){

    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "OneDto{" +
                "page=" + page +
                ", limit=" + limit +
                ", data=" + data +
                '}';
    }
}
